package net.jxvtc.lesson01.config;

import net.jxvtc.lesson01.pojo.SQLite;
import org.springframework.context.annotation.Bean;
import org.springframework.context.annotation.Configuration;

@Configuration
public class CustomConfig {

    @Bean(name = "sqlite3")
    public SQLite getBean()
    {
        return new SQLite("org.sqlite.JDBC",
                "jdbc:sqlite://e:/tim.db","",""
                );
    }

}
